package com.donghaiair.business.pushmessage.domain;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author Sjd
 * @since 2017-10-27
 */
@TableName("T_PUSH_MESSAGE")
public class TPushMessage extends Model<TPushMessage> {

	private static final long serialVersionUID = 1L;

	@TableId("ID")
	private String id;
	/**
	 * 推送人id
	 */
	@TableField("EMP_ID")
	private String empId;
	/**
	 * 推送标题
	 */
	@TableField("PUSH_TITLE")
	private String pushTitle;
	/**
	 * 推送内容
	 */
	@TableField("PUSH_CONTENT")
	private String pushContent;
	/**
	 * 创建时间
	 */
	@TableField("CREATE_TIME")
	private Date createTime;
	/**
	 * 是否推送成功 1成功 0失败
	 */
	@TableField("IS_SUCCESS")
	private Double isSuccess;
	/**
	 * 推送类型
	 */
	@TableField("PUSH_TYPE_CODE")
	private Double pushTypeCode;
	/**
	 * 创建人
	 */
	@TableField("CREATE_USER")
	private String createUser;
	@TableField("STS")
	private Integer sts;

	/**
	 * 公文或会议id
	 */
	@TableField("TYPE_ID")
	private String typeId;
	/**
	 * 是否已读 1已读 0否
	 */
	@TableField("IS_READ")
	private Integer isRead;

	public String getTypeId() {
		return typeId;
	}

	public void setTypeId(String typeId) {
		this.typeId = typeId;
	}

	public Integer getIsRead() {
		return isRead;
	}

	public void setIsRead(Integer isRead) {
		this.isRead = isRead;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getEmpId() {
		return empId;
	}

	public void setEmpId(String empId) {
		this.empId = empId;
	}

	public String getPushTitle() {
		return pushTitle;
	}

	public void setPushTitle(String pushTitle) {
		this.pushTitle = pushTitle;
	}

	public String getPushContent() {
		return pushContent;
	}

	public void setPushContent(String pushContent) {
		this.pushContent = pushContent;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Double getIsSuccess() {
		return isSuccess;
	}

	public void setIsSuccess(Double isSuccess) {
		this.isSuccess = isSuccess;
	}

	public Double getPushTypeCode() {
		return pushTypeCode;
	}

	public void setPushTypeCode(Double pushTypeCode) {
		this.pushTypeCode = pushTypeCode;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Integer getSts() {
		return sts;
	}

	public void setSts(Integer sts) {
		this.sts = sts;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "TPushMessage{" + "id=" + id + ", empId=" + empId + ", pushTitle=" + pushTitle + ", pushContent="
				+ pushContent + ", createTime=" + createTime + ", isSuccess=" + isSuccess + ", pushTypeCode="
				+ pushTypeCode + ", createUser=" + createUser + ", sts=" + sts + "}";
	}

}
